package org.ns.learn.rpc.codec;

public class ParameterType {
        private Class<?> parameterType;
        private Class<?> componentType;

        public ParameterType(Class<?> parameterType, Class<?> componentType) {
            this.parameterType = parameterType;
            this.componentType = componentType;
        }

        public ParameterType() {

        }

        public void setComponentType(Class<?> componentType) {
            this.componentType = componentType;
        }

        public Class<?> getComponentType() {
            return componentType;
        }

        public void setParameterType(Class<?> parameterType) {
            this.parameterType = parameterType;
        }

        public Class<?> getParameterType() {
            return parameterType;
        }
    }